\documentclass[a4paper]{book}
\usepackage{makeidx}
\usepackage{graphicx}
\usepackage{multicol}
\usepackage{float}
\usepackage{listings}
\usepackage{color}
\usepackage{ifthen}
\usepackage[table]{xcolor}
\usepackage{textcomp}
\usepackage{alltt}
\usepackage{ifpdf}
\ifpdf
\usepackage[pdftex,
            pagebackref=true,
            colorlinks=true,
            linkcolor=blue,
            unicode
           ]{hyperref}
\else
\usepackage[ps2pdf,
            pagebackref=true,
            colorlinks=true,
            linkcolor=blue,
            unicode
           ]{hyperref}
\usepackage{pspicture}
\fi
\usepackage[utf8]{inputenc}
\usepackage{mathptmx}
\usepackage[scaled=.90]{helvet}
\usepackage{courier}
\usepackage{sectsty}
\usepackage[titles]{tocloft}
\usepackage{doxygen}
\lstset{language=C++,inputencoding=utf8,basicstyle=\footnotesize,breaklines=true,breakatwhitespace=true,tabsize=8,numbers=left }
\makeindex
\setcounter{tocdepth}{3}
\renewcommand{\footrulewidth}{0.4pt}
\renewcommand{\familydefault}{\sfdefault}
\begin{document}
\hypersetup{pageanchor=false}
\begin{titlepage}
\vspace*{7cm}
\begin{center}
{\Large Water Network \\[1ex]\large 1.0 }\\
\vspace*{1cm}
{\large Generated by Doxygen 1.7.4}\\
\vspace*{0.5cm}
{\small Tue May 1 2012 04:18:30}\\
\end{center}
\end{titlepage}
\clearemptydoublepage
\pagenumbering{roman}
\tableofcontents
\clearemptydoublepage
\pagenumbering{arabic}
\hypersetup{pageanchor=true}
\chapter{Class Index}
\input{hierarchy}
\chapter{Class Index}
\input{annotated}
\chapter{File Index}
\input{files}
\chapter{Class Documentation}
\input{class_connection}
\input{class_control_water}
\input{class_data_storage}
\input{class_edge_type}
\input{class_graph_viewer}
\input{class_infrastructure}
\input{class_interfaces}
\input{class_junction}
\input{class_location}
\input{class_pipe}
\input{class_reservoir}
\input{class_water_network}
\input{class_water_u_i}
\chapter{File Documentation}
\input{auxiliar_8cpp}
\input{auxiliar_8h}
\input{connection_8cpp}
\input{connection_8h}
\input{_control_water_8cpp}
\input{_control_water_8h}
\input{_data_storage_8cpp}
\input{_data_storage_8h}
\input{edgetype_8h}
\input{graphviewer_8cpp}
\input{graphviewer_8h}
\input{_infrastructure_8cpp}
\input{_infrastructure_8h}
\input{_interfaces_8cpp}
\input{_interfaces_8h}
\input{_junction_8cpp}
\input{_junction_8h}
\input{_location_8cpp}
\input{_location_8h}
\input{_pipe_8cpp}
\input{_pipe_8h}
\input{_reservoir_8cpp}
\input{_reservoir_8h}
\input{water_8cpp}
\input{_water_network_8cpp}
\input{_water_network_8h}
\input{_water_u_i_8cpp}
\input{_water_u_i_8h}
\printindex
\end{document}
